package com.customer.crm.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.customer.crm.system.mapper.UserAndRoleMapper;
import com.customer.crm.system.pojo.UserAndRole;
import com.customer.crm.system.service.UserAndRoleService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: zlq
 * @create : 2021/12/24
 */
@Service
public class UserAndRoleServiceImpl extends ServiceImpl<UserAndRoleMapper, UserAndRole> implements UserAndRoleService {
    @Override
    public List<UserAndRole> findUserRolePage(Integer page, Integer size) {
        List<UserAndRole> userRolePage = baseMapper.findUserRolePage(page, size);
        return userRolePage;
    }
}
